/*
 * Copyright (c) Jiandong.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

import { ReadableNativeMap } from '../bridge/WritableNativeMap';
import { JavaScriptExecutor } from '../bridge/JavaScriptExecutor'
//import { SoLoader } from '../soloader/SoLoader'
import { HybridData } from '../../napi/HybridData'

export class JSCExecutor extends JavaScriptExecutor {
  public static loadLibrary() {
//    SoLoader.loadLibrary("jscexecutor");
  }

  constructor(jscConfig: ReadableNativeMap) {
    super(JSCExecutor.initHybrid(jscConfig));
  }

  public getName(): string {
    return "JSCExecutor";
  }

  private static /*native*/ initHybrid(var0: ReadableNativeMap): HybridData {
    return new HybridData();
  }
}
